/**
 *
 * Copyright (c) 2012 NCS Corporation.
 *
 * Author: tangb
 * Created Date: May 30, 2012
 * 
 * 	version					author					remark
 * 	1.0						tangb				
 */
package com.ocgs.base.core.constant;

public class OCGSErrorConstants {

	public static final String ERROR_NULL = "0";
	public static final String ERROR_DIV_0 = "7";
	public static final String ERROR_VALUE = "15";
	public static final String ERROR_REF = "23";
	public static final String ERROR_NAME = "29";
	public static final String ERROR_NUM = "36";
	public static final String ERROR_NA = "42";
	public static String propertyPath = "";

	public interface Common {
		public final static String SAMPLE = "Sample";
		public final static String WORKFLOW_SAVETASK = "WORKFLOW_SaveTaskTO";

		public final static String GODE_DAO_PAGEDRESULT = "getpaged_code";
		public final static String GODE_DAO_GETCOUNT = "getpaged_code";
		public final static String GODE_DAO_EXECUTE_UPEATE = "getpaged_code";
		public final static String GODE_DAO_GETCODELIST = "getpaged_code";

		public final static String GODE_SERVICE_GETCODELIST = "getpaged_code";
		// workflow error code being
		// application error code.
		public final static String CM_WORKFLOW_APP_SAVE_APP_FAIL = "cm.workflow.app.0001";
		public final static String CM_WORKFLOW_APP_SAVE_APPINS_FAIL = "cm.workflow.app.0002";
		public final static String CM_WORKFLOW_APP_GET_APPINS_LIST_FAIL = "cm.workflow.app.0003";
		public final static String CM_WORKFLOW_APP_GET_APP_FAIL = "cm.workflow.app.0004";
		public final static String CM_WORKFLOW_APP_NEW_APP_FAIL = "cm.workflow.app.0005";
		public final static String CM_WORKFLOW_APP_NO_APPINS_FOUDN = "cm.workflow.app.0006";
		public final static String CM_WORKFLOW_APP_APPINS_IS_UPDATING = "cm.workflow.app.0023";
		public final static String CM_WORKFLOW_APP_UPDATE_APPINS_FAIL = "cm.workflow.app.0007";
		public final static String CM_WORKFLOW_APP_UPDATE_APPINS_LOCK_STATUS_FAIL = "cm.workflow.app.0008";
		public final static String CM_WORKFLOW_APP_CREATE_APPINS_WITH_CHILDREN_FAIL = "cm.workflow.app.0009";
		public final static String CM_WORKFLOW_APP_GET_APPINS_CHILDREN_LIST_FAIL = "cm.workflow.app.0010";
		public final static String CM_WORKFLOW_APP_GET_APP_WITH_APPINS_COUNT_FAIL = "cm.workflow.app.0011";
		public final static String CM_WORKFLOW_APP_GET_APP_LIST_FAIL = "cm.workflow.app.0012";
		public final static String CM_WORKFLOW_APP_UNLOCK_APPINS_FAIL = "cm.workflow.app.0026";
		public final static String CM_WORKFLOW_APP_UPDATE_APP_FAIL = "cm.workflow.app.0027";
		// task error code
		public final static String CM_WORKFLOW_TAS_TAS_HAS_EXSIT = "cm.workflow.app.0013";
		public final static String CM_WORKFLOW_TAK_TASKINS_HAS_EXSIT = "cm.workflow.app.0014";
		public final static String CM_WORKFLOW_TAK_EXIST_WORKING_TASKINS = "cm.workflow.app.0024";
		public final static String CM_WORKFLOW_TAK_CHECK_EXIST_WORKING_TASKINS_FAIL = "cm.workflow.app.0025";
		public final static String CM_WORKFLOW_TAK_GET_TASKINS_COUNT_FAIL = "cm.workflow.app.0015";
		public final static String CM_WORKFLOW_TAK_UPDATE_TASKINS_FAIL = "cm.workflow.app.0016";
		public final static String CM_WORKFLOW_TAK_FIND_TASKINS_FAIL = "cm.workflow.app.0017";
		public final static String CM_WORKFLOW_TASK_NO_TASK_INS_FOUND = "cm.workflow.app.0022";
		public final static String CM_WORKFLOW_TASK_FIND_TASKINS_FAIL = "cm.workflow.app.0032";
		public final static String CM_WORKFLOW_TASK_NO_TASK_FOUND = "cm.workflow.app.0028";
		public final static String CM_WORKFLOW_TASK_FIND_TASK_FAIL = "cm.workflow.app.0033";
		public final static String CM_WORKFLOW_TASK_UPDATE_TASK_FAIL = "cm.workflow.app.0029";
		// workflow id error code.
		public final static String CM_WORKFLOW_APP_GET_ID_FAIL = "cm.workflow.app.0018";
		// sys2AppIns error code.
		public final static String CM_WORKFLOW_SYS_NO_APPINS_FOUND = "cm.workflow.app.0019";
		public final static String CM_WORKFLOW_SYS_GET_APPINS_FAIL = "cm.workflow.app.0030";
		public final static String CM_WORKFLOW_SYS_NO_SYS2APPINS_FOUND = "cm.workflow.app.0020";
		public final static String CM_WORKFLOW_SYS_FIND_SYS2APPINS_FAIL = "cm.workflow.app.0031";
		public final static String CM_WORKFLOW_SYS_SYS2APPINS_HAS_EXSIT = "cm.workflow.app.0021";

		// workflow error code end

		// report error code start
		public final static String CM_REPORT_FIND_REPORT_FAIL = "cm.report.app.0001";
		public final static String CM_REPORT_GET_DOWNLOAD_REPORT_FAIL = "cm.report.app.0002";
		public final static String CM_REPORT_CREATE_REPORT_LOG_FAIL = "cm.report.app.0003";
		public final static String CM_REPORT_CHECK_DOWNLOAD_REPORT_PERMISSION_FAIL = "cm.report.app.0004";
		public final static String CM_REPORT_UPDATE_DOCDEF_FAIL = "cm.report.app.0005";
		public final static String CM_REPORT_INSERT_DOCDEF_FAIL = "cm.report.app.0006";
		public final static String CM_REPORT_FIND_DOCDEF_FAIL = "cm.report.app.0007";
		// report error code end.

		// Auditlog error code

		// audit error code
		public static final String CM_AUD_APP_SYSTEMNAME_EMPTY = "cm.aud.app.0004";
		public static final String CM_AUD_APP_TRANSNUMBER_EMPTY = "cm.aud.app.0005";
		public static final String CM_AUD_APP_ACTION_EMPTY = "cm.aud.app.0007";
		public static final String CM_AUD_APP_TARGETEDOBJECT_EMPTY = "cm.aud.app.0008";
		public static final String CM_AUD_APP_STATUS_EMPTY = "cm.aud.app.0009";
		public static final String CM_AUD_APP_NO_AUDIT_ARG = "cm.aud.app.0010";
		public static final String CM_AUD_APP_JMS_QUEUE_NOT_FOUND = "cm.aud.app.0001";
		public static final String CM_AUD_APP_JMS_SERVER_NOT_CONTACTABLE = "cm.aud.app.0002";
		public static final String CM_ALERT_APP_ADD_ALERT_FAIL = "cm.alert.app.0003";
		public static final String CM_ALERT_APP_UPDATE_ALERT_FAIL = "cm.alert.app.0004";
		public static final String CM_ALERT_APP_DELETE_FK_RESTRAIN = "cm.alert.app.0005";
		public static final String CM_ALERT_APP_ADD_ALERTJOB_FAIL = "cm.alert.app.0006";
		public static final String CM_ALERT_APP_DELETE_ALERTJOB_FAIL = "cm.alert.app.0007";
		public static final String CM_ALERT_APP_ADD_EMAIL_FAIL = "cm.alert.app.0008";
		public static final String CM_ALERT_APP_UPDATE_EMAIL_FAIL = "cm.alert.app.0009";
		public static final String CM_ALERT_APP_ADD_SMS_FAIL = "cm.alert.app.0010";
		public static final String CM_ALERT_APP_UPDATE_SMS_FAIL = "cm.alert.app.0011";
		public static final String CM_ALERT_APP_ADD_TEMPLATE_FAIL = "cm.alert.app.0010";
		public static final String CM_ALERT_APP_UPDATE_TEMPLATE_FAIL = "cm.alert.app.0011";
		public static final String CM_AUDIT_SEARCH_EXCEPTION = "CM.aud.app.00020";
		// Alert module error code
		public static final String CM_ALERT_APP_EMPTY = "cm.alert.app.0001";
		public static final String CM_ALERT_APP_ID_EMPTY = "cm.alert.app.0002";

		// ////// Security Error Code //////////

		// /////User////
		public final static String CM_SECURITY_USER_MD5 = "cm.security.user.app.0001";
		public final static String CM_SECURITY_USER_SAVA_EXCEPTION = "cm.security.user.app.0002";
		public final static String CM_SECURITY_USER_DELETE_EXCEPTION = "cm.security.user.app.0003";
		public final static String CM_SECURITY_USER_DELETELIST_EXCEPTION = "cm.security.user.app.0004";
		public final static String CM_SECURITY_USER_SEARCH_EXCEPTION = "cm.security.user.app.0005";
		public final static String CM_SECURITY_USER_SEARCHPAGESIZE_EXCEPTION = "cm.security.user.app.0006";
		public final static String CM_SECURITY_USER_FINDUSERID_EXCEPTION = "cm.security.user.app.0007";
		public final static String CM_SECURITY_USER_UPDATE_EXCEPTION = "cm.security.user.app.0008";
		public final static String CM_SECURITY_USER_FINDLOGINNAME_EXCEPTION = "cm.security.user.app.0009";
		public final static String CM_SECURITY_USER2GROUP_FINDUSERID_EXCEPTION = "cm.security.user.app.00010";
		public final static String CM_SECURITY_USER2GROUP_SEARCHGROUPS_EXCEPTION = "cm.security.user.app.00011";
		public final static String CM_SECURITY_GROUP_GETRESLUT_EXCEPTION = "cm.security.user.app.00012";
		public final static String CM_SECURITY_GROUP_SEARCHBYID_EXCEPTION = "cm.security.user.app.00013";
		public final static String CM_SECURITY_GROUP_SAVAENTITY_EXCEPTION = "cm.security.user.app.00014";
		public final static String CM_SECURITY_GROUP_DELETEENTITY_EXCEPTION = "cm.security.user.app.00015";
		// ///role///
		public final static String CM_SECURITY_ROlE_GETROLEBYBEAN_EXCEPTION = "cm.security.role.app.0001";
		public final static String CM_SECURITY_ROlE_SAVEENTITY_EXCEPTION = "cm.security.role.app.0002";
		public final static String CM_SECURITY_ROlE_GETTOTLESIZE_EXCEPTION = "cm.security.role.app.0003";
		public final static String CM_SECURITY_ROlE_ADDROLE_EXCEPTION = "cm.security.role.app.0004";
		public final static String CM_SECURITY_ROlE_UPDATEROLE_EXCEPTION = "cm.security.role.app.0005";
		public final static String CM_SECURITY_ROlE_DELETEROLE_EXCEPTION = "cm.security.role.app.0006";
		public final static String CM_SECURITY_ROlE_UPDATEBYLIST_EXCEPTION = "cm.security.role.app.0007";
		public final static String CM_SECURITY_ROlE_FINDBYID_EXCEPTION = "cm.security.role.app.0008";
		public final static String CM_SECURITY_ROlE_LOGICDELETE_EXCEPTION = "cm.security.role.app.0009";
		public final static String CM_SECURITY_ROlE_CALLPAGESIZE_EXCEPTION = "cm.security.role.app.00010";
		public final static String CM_SECURITY_ROlE_ISROLEEXIST_EXCEPTION = "cm.security.role.app.00011";
		public final static String CM_SECURITY_ROlE_FINDBYNAME_EXCEPTION = "cm.security.role.app.00012";
		public final static String CM_SECURITY_ROlE_SEARCHROLE2BYID_EXCEPTION = "cm.security.role.app.00013";
		public final static String CM_SECURITY_ROlE2_OPTROLE2_EXCEPTION = "cm.security.role.app.00014";
		public final static String CM_SECURITY_ROlE2_ROLE2UTIL_EXCEPTION = "cm.security.role.app.00015";
		public final static String CM_SECURITY_ROlE2_UPDATE_EXCEPTION = "cm.security.role.app.00016";
		public final static String CM_SECURITY_ROlE2_DELETE_EXCEPTION = "cm.security.role.app.00017";
		public final static String CM_SECURITY_ROlE2_SAVE_EXCEPTION = "cm.security.role.app.00018";
		public final static String CM_SECURITY_ROlE_ROLE2UTIL_EXCEPTION = "cm.security.role.app.00019";
		public final static String CM_SECURITY_ROlE2_EXCEPTION = "cm.security.role.app.00020";

		// /resource
		public final static String CM_SECURITY_RESOURCE_EXCEPTION = "cm.security.resource.app.0001";
		public final static String CM_SECURITY_RESOURCE_GETROLEBYBEAN_EXCEPTION = "cm.security.resource.app.0002";
		public final static String CM_SECURITY_RESOURCE_UPDATELIST_EXCEPTION = "cm.security.resource.app.0003";
		public final static String CM_SECURITY_RESOURCE_ADD_EXCEPTION = "cm.security.resource.app.0004";
		public final static String CM_SECURITY_RESOURCE_UPDATE_EXCEPTION = "cm.security.resource.app.0005";
		public final static String CM_SECURITY_RESOURCE_DELETE_EXCEPTION = "cm.security.resource.app.0006";
		public final static String CM_SECURITY_RESOURCE_GETTOTLESIZE_EXCEPTION = "cm.security.resource.app.0007";
		public final static String CM_SECURITY_RESOURCE_FINDBYID_EXCEPTION = "cm.security.resource.app.0008";
		public final static String CM_SECURITY_RESOURCE_LOGICDELETE_EXCEPTION = "cm.security.resource.app.0009";
		public final static String CM_SECURITY_RESOURCE_ISEXIST_EXCEPTION = "cm.security.resource.app.00010";
		public final static String CM_SECURITY_RESOURCE_FINDREBYCNDTN_EXCEPTION = "cm.security.resource.app.00011";
		public final static String CM_SECURITY_RESOURCE_GETPAGELIST_EXCEPTION = "cm.security.resource.app.00012";
		public final static String CM_SECURITY_RESOURCE_SEARCHGROUP_EXCEPTION = "cm.security.resource.app.00013";
		public final static String CM_SECURITY_RESOURCE_GETBYGROUPNAME_EXCEPTION = "cm.security.resource.app.00014";

		// ///GROUP/////

		public final static String CM_SECURITY_GROUP_EXCEPTION = "cm.security.group.app.0001";
		public final static String CM_SECURITY_GROUP_GETROLEBYBEAN_EXCEPTION = "cm.security.group.app.0002";
		public final static String CM_SECURITY_GROUP_UPDATELIST_EXCEPTION = "cm.security.group.app.0003";
		public final static String CM_SECURITY_GROUP_ADD_EXCEPTION = "cm.security.group.app.0004";
		public final static String CM_SECURITY_GROUP_UPDATE_EXCEPTION = "cm.security.group.app.0005";
		public final static String CM_SECURITY_GROUP_DELETE_EXCEPTION = "cm.security.group.app.0006";
		public final static String CM_SECURITY_GROUP_GETTOTLESIZE_EXCEPTION = "cm.security.group.app.0007";
		public final static String CM_SECURITY_GROUP_FINDBYID_EXCEPTION = "cm.security.group.app.0008";
		public final static String CM_SECURITY_GROUP_LOGICDELETE_EXCEPTION = "cm.security.group.app.0009";
		public final static String CM_SECURITY_GROUP_ISEXIST_EXCEPTION = "cm.security.group.app.00010";
		public final static String CM_SECURITY_GROUP_FINDREBYCNDTN_EXCEPTION = "cm.security.group.app.00011";
		public final static String CM_SECURITY_GROUP_GETPAGELIST_EXCEPTION = "cm.security.group.app.00012";
		public final static String CM_SECURITY_GROUP_SEARCHGROUP_EXCEPTION = "cm.security.group.app.00013";
		public final static String CM_SECURITY_GROUP_GETBYGROUPNAME_EXCEPTION = "cm.security.group.app.00014";
		public final static String CM_SECURITY_GROUP2R_SEARCHBYID_EXCEPTION = "cm.security.group.app.00015";
		public final static String CM_SECURITY_GROUP2R_OPTGROUP2ROLE_EXCEPTION = "cm.security.group.app.00016";

		// //QuickLink
		public final static String CM_QUICKLINK_GETLIST_EXCEPTION = "cm.security.group.app.0001";
		public final static String CM_QUICKLINK_ADDQUICKLINK_EXCEPTION = "cm.security.group.app.0002";
		public final static String CM_QUICKLINK_UPDATE_EXCEPTION = "cm.security.group.app.0003";
		public final static String CM_QUICKLINK_DELETE_EXCEPTION = "cm.security.group.app.0004";

		// Scheduler JobInfo
		public final static String CM_SCHEDULER_JOBINFO_SEARCH_EXCEPTION = "cm.scheduler.jobinfo.app.0001";
		public final static String CM_SCHEDULER_JOBINFO_ADD_EXCEPTION = "cm.scheduler.jobinfo.app.0002";
		public final static String CM_SCHEDULER_JOBINFO_UPDATE_EXCEPTION = "cm.scheduler.jobinfo.app.0003";
		public final static String CM_SCHEDULER_JOBINFO_DELETE_EXCEPTION = "cm.scheduler.jobinfo.app.0004";
	}

	public interface IE {
		public final static String SAMPLE = "Sample";
	}

	public interface DG {
		public final static String SAMPLE = "Sample";

		public interface Declaration {
			public final String DG_WEIGHTRESTRICTED_SEARCH_EXCEPTION = "dg.weightrestricted.app.0001";
		}
	}

	public interface CV {
		public final static String SAMPLE = "Sample";
	}

}
